package com.huage_08.lesson_01;

public class MyRunnableDemo {
    public static void main(String[] args) {
        Runnable my = new MyRunnable();

        Thread thread1 = new Thread(my,"飞机");
        Thread thread2 = new Thread(my,"火车");

        thread1.start();
        thread2.start();
    }
}
